home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / LPC / ed5 < prev    next >
Text File  |  2001-04-06  |  2KB  |  47 lines

  1. NAME
  2.         ed5
  3.  
  4. DESCRIPTION
  5.         = : prints current line
  6.         a : append lines
  7.         c : change, that is, delate, than insert
  8.         d : delete line(s)
  9.         E <filename> :  discard current buffer and edit the file named
  10.                         <filename>
  11.         e <filename> : like e, but refuse if file has been changed
  12.         f : print current filename
  13.         f <filename> : set filename
  14.         i : insert line(s)
  15.         j : with no or one argument: join line with following line
  16.         j : with two arguments : join line range given
  17.         k<letter> : set mark <letter> to current line. <letter> must
  18.                 be in the range [a-z] . The mark can be used
  19.                 thereinafter as a line address, with a leading slash.
  20.                 (e.g. ka to set mark a, /ap to print marked line)
  21.         l : print line with control characters
  22.         <start>,<end>m<dest> : move block (lines from start to end)
  23.                                 behind line # dest
  24.         <line>m<dest>        : move single line
  25.         m<dest>                : move current line
  26.         p : print line
  27.         P : print line
  28.         Q : quit, discarding the buffer
  29.         q : the same, but refuse if file has been changed since last
  30.             write
  31.         r : read in file. If no adress is given, at the last insert
  32.             position, if also nothing was inserted, at the end of the
  33.             buffer
  34.         s : substitute
  35.         <start>,<end>t<dest>        : copy block ( lines from start to end )
  36.                                   behind line position dest
  37.         <line>t<dest>                : copy single line
  38.         t<dest>                        : copy current line
  39.         w : write file
  40.         W : write file
  41.         x : write file if buffer has been changed since last change,
  42.             then quit
  43.         z : show approx. a screenful of lines
  44.  
  45. SEE ALSO
  46.         ed6(LPC)
  47.